package top.abrsm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import top.abrsm.entity.bo.ExpressContentBo;

import java.util.Date;
import java.util.List;

/**
 * 快递查询记录表
 */
@TableName ("express_info")
public class ExpressEntity extends BaseEntity {

    @TableId (type = IdType.INPUT, value = "id")
    private String id;
    @TableField ("expressName")
    private String expressName;
    @TableField ("oddNumbers")
    private String oddNumbers;
    @TableField ("productId")
    private String productId;
    @TableField ("orderId")
    private String orderId;
    @TableField ("stuMobile")
    private String stuMobile;
    @TableField ("expressImgUrl")
    private String expressImgUrl;
    @TableField ("createTime")
    private Date createTime;
    @TableField ("changeTime")
    private Date changeTime;
    @TableField ("isUsed")
    private Integer isUsed;

    @TableField (exist = false)
    private String expTextName; // 快递公司名称
    @TableField (exist = false)
    private List<ExpressContentBo> expressContentBos; // 快递节点
    @TableField (exist = false)
    private String productName;
    @TableField (exist = false)
    private String outTradeNo;

    public String getId () {
        return id;
    }

    public void setId (String id) {
        this.id = id;
    }

    public String getExpressName () {
        return expressName;
    }

    public void setExpressName (String expressName) {
        this.expressName = expressName;
    }

    public String getOddNumbers () {
        return oddNumbers;
    }

    public void setOddNumbers (String oddNumbers) {
        this.oddNumbers = oddNumbers;
    }

    public String getProductId () {
        return productId;
    }

    public void setProductId (String productId) {
        this.productId = productId;
    }

    public String getOrderId () {
        return orderId;
    }

    public void setOrderId (String orderId) {
        this.orderId = orderId;
    }

    public String getStuMobile () {
        return stuMobile;
    }

    public void setStuMobile (String stuMobile) {
        this.stuMobile = stuMobile;
    }

    public String getExpressImgUrl () {
        return expressImgUrl;
    }

    public void setExpressImgUrl (String expressImgUrl) {
        this.expressImgUrl = expressImgUrl;
    }

    public Date getCreateTime () {
        return createTime;
    }

    public void setCreateTime (Date createTime) {
        this.createTime = createTime;
    }

    public Date getChangeTime () {
        return changeTime;
    }

    public void setChangeTime (Date changeTime) {
        this.changeTime = changeTime;
    }

    public Integer getIsUsed () {
        return isUsed;
    }

    public void setIsUsed (Integer isUsed) {
        this.isUsed = isUsed;
    }

    public String getExpTextName () {
        return expTextName;
    }

    public void setExpTextName (String expTextName) {
        this.expTextName = expTextName;
    }

    public List<ExpressContentBo> getExpressContentBos () {
        return expressContentBos;
    }

    public void setExpressContentBos (List<ExpressContentBo> expressContentBos) {
        this.expressContentBos = expressContentBos;
    }

    public String getProductName () {
        return productName;
    }

    public void setProductName (String productName) {
        this.productName = productName;
    }

    public String getOutTradeNo () {
        return outTradeNo;
    }

    public void setOutTradeNo (String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }
}
